package com.suixuan.test

class Urls {
	String name
	String url


	static hasMany = [roles : Role]
	
	static belongsTo =  [Role]

	static constraints = {
		name blank:false
		url blank:false
	}

	static mapping = {
		table '_urls'

		name column : '_name'
		url column : '_url'

	}
}
